package com.techysky.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Entity
@Table(name="sys_log")
@Data@EqualsAndHashCode(callSuper=false)
public class SysLog extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Column(name="create_date")
	private String createDate;
	@Column(name="create_user")
	private String createUser;
	@Column(name="operation")
	private String operation;	//操作
	@Column(name="result")
	private String result;	//结果
	@Column(name="user_name")
	private String userName;//操作人员姓名
	@Column(name="user_id")
	private String userId;//操作人员id
	@Column(name="type")
	private String type;//记录日志类型，1表示主页操作日志，2表示ietm操作日志
	@Transient
	private Integer page;
	@Transient
	private Integer size;	
	@Transient
	private String startDate;
	@Transient
	private String endDate;
}
